#ifndef __APP_BALANCE_H
#define __APP_BALANCE_H

#include "main.h"
#include "pid.h"
#include "app_sensor.h"
#include "driver_motor.h"
#include "filter.h"

#define M_VALUE -1

int app_Balance_Init(void);

void app_Balance_Stand_Loop_Ctrl(float ref);
void app_Balance_Speed_Loop_Ctrl(float ref);
void app_Balance_Stand_Speed_Loop_Ctrl(float ref);

#endif